



const http = require("http");
const fs = require("fs");

var port = 9001;

http.createServer(function (request, response) {
    var url = request.url;


    const html = fs.readFileSync("/static/hi.html", "utf-8");
    const img = fs.readFileSync("/static/hi.jpg", "utf-8");
    response.writeHead(200, {
        "Content-Type": "text/html"
       
    });
    response.end(html);



}).listen(port);

console.log("cache启动：" + port);


